/*
 *代码由框架生成,此处任何更改都可能导致被代码生成器覆盖
 *所有业务编写全部应在Partial文件夹下MaterialElementService与IMaterialElementService中编写
 */
using Mercury.System.IRepositories;
using Mercury.System.IServices;
using Mercury.Core.BaseProvider;
using Mercury.Core.Extensions.AutofacManager;
using Mercury.Entity.DomainModels;

namespace Mercury.System.Services
{
    public partial class MaterialElementService : ServiceBase<MaterialElement, IMaterialElementRepository>
    , IMaterialElementService, IDependency
    {
        public MaterialElementService(IMaterialElementRepository repository)
        : base(repository)
        {
            Init(repository);
        }
        public static IMaterialElementService Instance
        {   
            get { return AutofacContainerModule.GetService<IMaterialElementService>(); }
        }
    }
 }
